package com.ytt.core.model.teacher;

import com.ytt.core.model.schoolClass.SchoolClassDto;
import com.ytt.core.model.user.UserDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Set;

@ApiModel(description = "教师信息")
@Getter
@Setter
@ToString(callSuper = true)
public class TeacherDto {
    @ApiModelProperty(position = 1, notes = "对象ID，新增时应当为null, 系统会自动生成", required = true)
    private String id;

    @ApiModelProperty(position = 320, value = "所属的用户")
    private UserDto user;


    @ApiModelProperty(position = 320, value = "工号")
    private  String job_number;

    @ApiModelProperty(position = 320, value = "是否离职")
    private  Boolean is_quit;

    @ApiModelProperty(position = 320, value = "所属的班级")
    private SchoolClassDto schoolClass ;
}
